
#include <iostream>
using namespace std;

#include <iomanip>
using std::setw;

int main()
{
    int n[10];//n has 10 int
    //初始化数组元素
    for ( int i = 0; i < 10; i++ )
    {
	n[i] = i + 100;//设置元素i为i+100
    };
    cout << "Element" << setw(13) << "Value" << endl;
    //输出数组每个元素的值
    for ( int j = 0; j < 10; j++ )
    {
	cout << setw(7) << j << setw(13) << n[j] << endl;
    };
    return 0;
};
